<?php
require "require/session.php";
require "require/header.php";
require "require/connectdb.php";
$sql="select table_number from number_of_table";
$query=mysql_query($sql);
$data=mysql_fetch_assoc($query);
?>
	<div id="main">
		<div id="content">
		<?php
			for($i=1;$i<=$data['table_number'];$i++)
			{
		
			echo "<div class='tablenum' id='",$i,"'>";
			echo "<a href='#'><img src='../banner/table.jpg' width='190px' height='135px' />";
			echo "<p>Bàn thứ $i<p></a>";
			echo "</div>";				
		
			}		?>	
			
			<div id="kq"></div>	
			<div id="thong_bao">
				<span id='notice'>Thông báo</span>
				<div id="info_notice"></div>
				
			</div>			
		</div>				
	</div>
<?php
	require("require/footer.php");
?>